package com.hxk.provider.service.impl;

import com.hxk.api.bean.User;
import com.hxk.api.service.UserService;
import org.apache.dubbo.config.annotation.Service;

import java.util.Arrays;
import java.util.List;

/**
 * UserServiceImpl
 *
 * @auther: dev000
 * @date: 2021/3/5 17:57
 */
@Service
public class UserServiceImpl implements UserService {

    @Override
    public List<User> getUsers(String userName) {
        return Arrays.asList(new User(1,"zhangsan","123456", 20),new User(2,"zhangsan","123456", 30));
    }
}
